[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PPENAME() (STRING)

 Function
  Return the base name of an executing PPE file.

 Syntax
  PPENAME()   No arguments are required

 Return Type & Value
  STRING
  Returns the base file name (without path or extension) of the currently
  executing PPE.

 Remarks
  This function will return the name of the PPE file that is running.  This
  can be useful when writing PPL applications that will use data files
  that you would like to keep named the same as the parent application
  regardless of what the PPE name may change to.

 Examples
  STRING s
  FOPEN 1,PPEPATH()+PPENAME()+".CFG",O_RD,S_DN
  FGET 1,s
  FCLOSE 1

See Also: PPEPATH()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson